Hello Doors users , |
Re: Customized Traceability explorer why you don't use Analysis / Wizard ? Pierre |
Re: Customized Traceability explorer PDU - Tue Jun 15 09:13:54 EDT 2010 i already used the Analysis wizard to have a coulmn for the in link and the outlink But still i need to count the percentage of the linked requirements .I need to export the tracebility explorer to an excel or a word doc Thanks for your time :) |
Re: Customized Traceability explorer DXL - Wed Jun 16 10:26:43 EDT 2010
little script (in french), that :
// Mesure la couverture : exigneces couvertes ou non par des liens entrant
/*
MesureCouverture.dxl
V1.0 27/11/2009 Pierre Dubarry Création
*/
pragma runLim,0
Buffer outBuf = create
outBuf = ""
Object ObjetCourant
Module ModuleCourant = current
int NombreExigences = 0
int NombreExigencesLiees = 0
bool ExigenceLiee = false
string linkModName = "*"
Object othero
Link l
LinkRef lr
for ObjetCourant in ModuleCourant do
{
if ( ((ObjetCourant."WEXP Template" "") == "EX") || ((ObjetCourant."WEXP Template" "") == "Requirement") )
{
NombreExigences = NombreExigences + 1
}
ExigenceLiee = false
for lr in all(ObjetCourant<-linkModName) do
{
otherMod = module (sourceVersion lr)
if (!null otherMod)
{
ExigenceLiee = true
}
}
if (ExigenceLiee == true)
{
NombreExigencesLiees = NombreExigencesLiees + 1
}
}
outBuf = outBuf "Module : " name(ModuleCourant) "\n" " Nombre d'exigences = " NombreExigences "\n" " Nombre d'exigences liées = " NombreExigencesLiees "\n" " Taux de couverture = " (100 * NombreExigencesLiees / NombreExigences) "%" "\n"
// print outBuf ""
infoBox (outBuf "")
|
Re: Customized Traceability explorer If you search for Excel OLE - this is how I produce traceability reports in Excel with both in and outlins displayed |
Re: Customized Traceability explorer Ben_Sharples - Thu Jun 17 10:09:17 EDT 2010 Thanks all for ur replies. I have a question ..what is Excel OLE ? and how and where to get it !? It seems I'm ignorant in this area :)! Best Regards |